import request from '@/utils/request'

export function updateStudent(query) {
  return request({
    url: '/system/student/update',
    method: 'post',
    params: query
  })
}


export function addStudent(query) {
  return request({
    url: '/system/student/add',
    method: 'get',
    params: query
  })
}


export function delStudent(query) {
  return request({
    url: '/system/student/del',
    method: 'get',
    params: query
  })
}


export function getStudent(query) {
  return request({
    url: '/system/student/get',
    method: 'get',
    params: query
  })
}


export function listStudent(query) {
  return request({
    url: '/system/student/list',
    method: 'get',
    params: query
  })
}
